package com.yang.zngcxyxkjs.mapper;

import com.yang.zngcxyxkjs.pojo.LoginLog;
import com.yang.zngcxyxkjs.pojo.Student;
import org.springframework.stereotype.Repository;

@Repository
public interface StudentMapper {

    Student studentLogin(String stuNo, String password);

    Student selectStudentByStuNo(String stuNo);

    boolean updateStudent(Student student);

    boolean updateStudentByStuNo(Student student);

    boolean insertStudent(Student student);

    Integer insertStudentLoginlog(LoginLog loginlog);

    boolean deleteStudentByStuNo(String stuNo);

}
